#pragma once

#include <iostream>
#include <vector>

typedef void (*task_t)();
std::vector<task_t> tasks;

void task1()
{
    std::cout << "valolant 刷新日志" << std::endl;
}

void task2()
{
    std::cout << "valolant 更新技能，刷新技能次数" << std::endl;
}

void task3()
{
    std::cout << "valolant 检测软件是否更新，如果需要，就提示用户" << std::endl;
}

void task4()
{
    std::cout << "valolant 用户攻击敌方，扣除敌方血量，用户收到攻击，扣除自身血量" << std::endl;
}

void LoadTask(std::vector<task_t>* tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}  